package com.muki.succ.web.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.muki.succ.web.component.ThemePublisher;
import com.muki.succ.web.service.ThemeService;

@Service
public class ThemeServiceImpl implements ThemeService {

	@Autowired private ThemePublisher themePublisher;
	
	@Override
	public void pub(String theme, int num) {
		themePublisher.sendTopic(theme, num);
	}

	@Override
	public void pubTask(String theme, String url) {
		themePublisher.pubTask(theme, url);
	}

}
